package com.superbytecode.cloud.rocketmq.configure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: beacon-cloud
 * @Package: com.superbytecode.cloud.rocketmq.configure
 * @ClassName: MQConfigurationProperties
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/11/1 16:23
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Data
@ConfigurationProperties(prefix = "rocketmq")
public class MQConfigurationProperties {

    private MQProviderEnum provider = MQProviderEnum.OPEN;
    private AliMQConfiguration aliMQ;

    @Data
    public static class AliMQConfiguration {
        private String accessKey;
        private String secretKey;
        private String groupId;
    }
}
